using System;
using Phoenix.Framework;

namespace Phoenix.Filters.ExceptionFilters
{
    public class ExceptionContext
    {
        public ExceptionContext(ControllerAction target, Exception exception)
        {
            Target = target;
            Exception = exception;
        }

        public ControllerAction Target { get; private set; }
        public Exception Exception { get; private set; }
        public bool ExceptionHandled { get; set; }
    }
}